var t = new(require("../../../utils/http").HTTP);
Page({
    data: {},
    onLoad: function (e) {
        wx.setStorageSync("kind", e.name);
        var a = this;
        "基础办证" == e.name ? a.setData({
            list: 1
        }) : "增值服务" == e.name && a.setData({
            list: 2
        }),
        wx.setNavigationBarTitle({
            title: e.name
        }),
        t.request({
            url: "https://www.qlsyyun.com:3030/serve/handle",
            data: {
                list: a.data.list
            }
        }).then((function (t) {
                a.setData({
                    handle: t.data
                })
            }))
    },
    ToHandle: function (t) {
        wx.navigateTo({
            url: "/pages/employ/handle/handle?company=" + t.currentTarget.dataset.id + "&type=" + t.currentTarget.dataset.type + "&genre=" + t.currentTarget.dataset.genre
        })
    }
});
